package com.dkm.ec.sale.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:销售产品SKU Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:Yuki
 * 创建时间:2015-01-22 13:52:18
 */
 @ITable(name="saleSku",code="skg_sale_sku")
public class SaleSkuTbl extends AbstractPo<String>{
	private static final long serialVersionUID = 1L;
	@IField(name="id",column="id_")
	protected String  id; 		/*产品SKU ID*/
	@IField(name="saleProdId",column="sale_prod_id_")
	protected String  saleProdId; 		/*产品ID*/
	@IField(name="skuName",column="sku_name_")
	protected String  skuName; 		/*SKU名称*/
	@IField(name="createType",column="create_type_")
	protected String  createType; 		/*生成方式。auto=自动生成唯一的产品SKU，并不是通过选择SKU选项生成。manual=人工根据SKU选项生成。*/
	@IField(name="key",column="key_")
	protected String  key; 		/*SKU 型号*/
	@IField(name="seoKey",column="seo_key_")
	protected String  seoKey; 		/*SEO KEY*/
	@IField(name="opKey",column="op_key_")
	protected String  opKey; 		/*OP KEY*/
	@IField(name="attrIds",column="attr_ids_")
	protected String  attrIds; 		/*SKU属性串*/
	@IField(name="attrNames",column="attr_names_")
	protected String  attrNames; 		/*SKU属性可选项ID串*/
	@IField(name="attrOpIds",column="attr_op_ids_")
	protected String  attrOpIds; 		/*SKU属性可选项ID串*/
	@IField(name="attrOpValues",column="attr_op_values_")
	protected String  attrOpValues; 		/*SKU属性可选值串*/
	@IField(name="attrOpLabels",column="attr_op_labels_")
	protected String  attrOpLabels; 		/*SKU属性可选项标签串*/
	@IField(name="length",column="length_")
	protected Double  length; 		/*尺寸 - 长*/
	@IField(name="width",column="width_")
	protected Double  width; 		/*尺寸 - 宽*/
	@IField(name="height",column="height_")
	protected Double  height; 		/*尺寸 - 高*/
	@IField(name="weight",column="weight_")
	protected Double  weight; 		/*重量。用于物流计费使用。*/
	@IField(name="listPrice",column="list_price_")
	protected Double  listPrice; 		/*市场价*/
	@IField(name="pointCount",column="point_count_")
	protected Integer  pointCount; 		/*积分数量（对人工设置）*/
	@IField(name="status",column="status_")
	protected String  status; 		/*产品SKU状态。on_sale=上架；not_on_sell=下架 rush=预售*/ 
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	@IField(name="updateTime",column="update_time_")
	protected java.util.Date  updateTime; 		/*更新时间*/
	@IField(name="createBy",column="create_by_")
	protected String  createBy; 		/*创建者*/
	@IField(name="updateBy",column="update_by_")
	protected String  updateBy; 		/*更新者*/
	@IField(name="isDefault",column="is_default_")
	protected String  isDefault; 		/*更新者*/
	
	
	public String getIsDefault() {
		return isDefault;
	}
	public void setIsDefault(String isDefault) {
		this.isDefault = isDefault;
	}
	/**
	 * 返回创建人
	 */
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	/**
	 * 返回更新人
	 */
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 产品SKU ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setSaleProdId(String saleProdId) 
	{
		this.saleProdId = saleProdId;
	}
	/**
	 * 返回 产品ID
	 * @return
	 */
	public String getSaleProdId() 
	{
		return this.saleProdId;
	}
	public void setCreateType(String createType) 
	{
		this.createType = createType;
	}
	/**
	 * 返回 生成方式。auto=自动生成唯一的产品SKU，并不是通过选择SKU选项生成。manual=人工根据SKU选项生成。
	 * @return
	 */
	public String getCreateType() 
	{
		return this.createType;
	}
	
	
	public String getSkuName() {
		return skuName;
	}
	public void setSkuName(String skuName) {
		this.skuName = skuName;
	}
	public void setKey(String key) 
	{
		this.key = key;
	}
	/**
	 * 返回 SKU 型号
	 * @return
	 */
	public String getKey() 
	{
		return this.key;
	}
	public void setSeoKey(String seoKey) 
	{
		this.seoKey = seoKey;
	}
	
	
	public String getOpKey() {
		return opKey;
	}
	public void setOpKey(String opKey) {
		this.opKey = opKey;
	}
	/**
	 * 返回 SEO KEY
	 * @return
	 */
	public String getSeoKey() 
	{
		return this.seoKey;
	}
	public void setAttrIds(String attrIds) 
	{
		this.attrIds = attrIds;
	}
	/**
	 * 返回 SKU属性串
	 * @return
	 */
	public String getAttrIds() 
	{
		return this.attrIds;
	}
	public void setAttrOpIds(String attrOpIds) 
	{
		this.attrOpIds = attrOpIds;
	}
	/**
	 * 返回 SKU属性可选项ID串
	 * @return
	 */
	public String getAttrOpIds() 
	{
		return this.attrOpIds;
	}
	public void setAttrOpValues(String attrOpValues) 
	{
		this.attrOpValues = attrOpValues;
	}
	/**
	 * 返回 SKU属性可选值串
	 * @return
	 */
	public String getAttrOpValues() 
	{
		return this.attrOpValues;
	}
	public void setAttrOpLabels(String attrOpLabels) 
	{
		this.attrOpLabels = attrOpLabels;
	}
	/**
	 * 返回 SKU属性可选项标签串
	 * @return
	 */
	public String getAttrOpLabels() 
	{
		return this.attrOpLabels;
	}
	public void setLength(Double length) 
	{
		this.length = length;
	}
	/**
	 * 返回 尺寸 - 长
	 * @return
	 */
	public Double getLength() 
	{
		return this.length;
	}
	public void setWidth(Double width) 
	{
		this.width = width;
	}
	/**
	 * 返回 尺寸 - 宽
	 * @return
	 */
	public Double getWidth() 
	{
		return this.width;
	}
	public void setHeight(Double height) 
	{
		this.height = height;
	}
	/**
	 * 返回 尺寸 - 高
	 * @return
	 */
	public Double getHeight() 
	{
		return this.height;
	}
	public void setWeight(Double weight) 
	{
		this.weight = weight;
	}
	/**
	 * 返回 重量。用于物流计费使用。
	 * @return
	 */
	public Double getWeight() 
	{
		return this.weight;
	}
	public void setListPrice(Double listPrice) 
	{
		this.listPrice = listPrice;
	}
	/**
	 * 返回 市场价
	 * @return
	 */
	public Double getListPrice() 
	{
		return this.listPrice;
	}
	public void setPointCount(Integer pointCount) 
	{
		this.pointCount = pointCount;
	}
	/**
	 * 返回 积分数量（对人工设置）
	 * @return
	 */
	public Integer getPointCount() 
	{
		return this.pointCount;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 产品SKU状态。on_sale=上架；not_on_sell=下架
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setUpdateTime(java.util.Date updateTime) 
	{
		this.updateTime = updateTime;
	}
	/**
	 * 返回 更新时间
	 * @return
	 */
	public java.util.Date getUpdateTime() 
	{
		return this.updateTime;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("saleProdId", this.saleProdId) 
		.append("createType", this.createType) 
		.append("key", this.key) 
		.append("seoKey", this.seoKey) 
		.append("attrIds", this.attrIds) 
		.append("attrOpIds", this.attrOpIds) 
		.append("attrOpValues", this.attrOpValues) 
		.append("attrOpLabels", this.attrOpLabels) 
		.append("length", this.length) 
		.append("width", this.width) 
		.append("height", this.height) 
		.append("weight", this.weight) 
		.append("listPrice", this.listPrice) 
		.append("pointCount", this.pointCount) 
		.append("status", this.status) 
		.append("createTime", this.createTime) 
		.append("updateTime", this.updateTime) 
		.toString();
	}
	public String getAttrNames()
	{
		return attrNames;
	}
	public void setAttrNames(String attrNames)
	{
		this.attrNames = attrNames;
	}
}